<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("moduleType"))
    </label>
    <div class="col-sm-9">
        #if (((systemModule.i_level ??) ==2)&& ((action ??) =="edited"))
        <input value="#(systemModule.dict_name ??)" id="type" class="form-control" disabled="disable"/>
        #else
        <input value="#(systemModule.dict_name ??)" class="form-control" id="type"/>
        #end
        <input name="systemModule.dict_id" type="hidden" value="#(systemModule.dict_id ??)" id="dictName"/>
    </div>
</div>
<div class="hr-line-dashed"></div>
#if ((systemModule ??))
<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("moduleParent"))
    </label>
    <div class="col-sm-9">
        <input name="old_parentid" type="hidden" value="#(systemModule.parent_id ??)"/>
        <input name="systemModule.parent_id" type="hidden" value="#(systemModule.parent_id ??)" id="parentId"/>
        #if ((action ??) == "edited")
        <input type="text" value="#(systemModule.parentName ??)" class="form-control" id="parentName" disabled="disabled"/>
        #else
        <input type="text" value="#(systemModule.parentName ??)" class="form-control" id="parentName"/>
        #end
        <input type="hidden" name="systemModule.dict_id" value="#(systemModule.dict_id ??)"/>
    </div>
</div>
#end
<div class="hr-line-dashed"></div>
<div class="form-group">
    <label class="col-sm-2 control-label">
        #if ((systemModule.i_level ??) ==2)
        #(jxrb.message("motionName"))
        #else
            #if ((action ??) =="added")
            #(jxrb.message("motionName"))
            #else
            #(jxrb.message("moduleName"))
            #end
        #end
    </label>
    <div class="col-sm-9">
        <input name="systemModule.module_id" type="hidden" value="#(systemModule.module_id ??)" id="moduleId"/>
        <input name="systemModule.module_name" type="text" jtag='#(jxrb.message("motionName"))' class="form-control" value="#(systemModule.module_name ??)" id="moduleName"/>
    </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    #if (((systemModule.i_level ??) ==1) && ((action ??) != "added"))
    <label class="col-sm-2 control-label">
        #(jxrb.message("moduleInfo"))
    </label>
    <div class="col-sm-9">     
        <input name="systemModule.module_info" type="text" class="form-control" value="#(systemModule.module_info ??)" id="moduleInfo" disabled="disable"/>
    </div>
    #else
    <label class="col-sm-2 control-label">
        #(jxrb.message("motionOne"))
    </label>
    <div class="col-sm-9">     
        <input name="systemModule.module_info" type="text" class="form-control" value="#(systemModule.module_info ??)" id="moduleInfo"/>
    </div>
    #end
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    #if (((systemModule.i_level ??) ==1) && ((action ??) !="added"))
    <label class="col-sm-2 control-label">
        #(jxrb.message("moduleDetail"))
    </label>
    <div class="col-sm-9">
        <textarea rows="3" class="form-control" name="systemModule.detail" id="moduleDetail">#(systemModule.detail ??)</textarea>
    </div>
    #else
    <label class="col-sm-2 control-label">
        #(jxrb.message("motionTwo"))
    </label>
    <div class="col-sm-9">
        <input name="systemModule.detail" class="form-control" type="text" value="#(systemModule.detail ??)" id="moduleDetail"/>
    </div>
    #end
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("public.viewnum"))
    </label>
    <div class="col-sm-9">
        <input name="old_view_num" type="hidden" value="#(treeInfo.createTreeNode(systemModule).treeNode.treeLevelInfo.viewNum-1 ??)"/>

        <input name="view_num" class="form-control" type="text" value="#(treeInfo.createTreeNode(systemModule).treeNode.treeLevelInfo.viewNum-1 ??)" id="viewNum"/>
    </div>
</div>

